#include <opencv2/opencv.hpp>
#include "gridmap.h"

int main(int argc, char **argv)
{
	GridMap map("map.txt");
	cv::Mat mat;

	if (map.isValid()) {
		mat = map.renderMap();
		cv::namedWindow("win");
		cv::imshow("win", mat);
		cv::waitKey(0);
	}
	return 0;
}
